package com.gfeeling.guava.test;

import java.util.List;
import java.util.concurrent.TimeUnit;

import com.gfeeling.guava.model.User;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;

public class UserCache {
    public static Cache<String,List<User>> cache = CacheBuilder.newBuilder()
    		.expireAfterAccess(80, TimeUnit.SECONDS)
    		.maximumSize(10)
    		.build();
}
